﻿@model HdipCricketClub.Models.Team

@{
    ViewBag.Title = "UpdateError";
}

<h2>Update Error</h2>

<h2>The following Team cannot be deleted</h2>

<fieldset>
    <legend>Team</legend>

    <div class="display-label">@Html.LabelFor(model => model.name)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.name)
    </div>

    <div class="display-label">Captain:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member.FirstAndLastName)
    </div>
        
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
